<%@ page import="cn.jdy.common.constant.GlobalConstant" %>
<%@ page language="java" contentType="text/html;charset=utf-8" %>
<%
    request.setAttribute("path", request.getContextPath());
    request.setAttribute("VERSION", GlobalConstant.VERSION);// 版本号[试用]，每次发布时更新最后一位数;用于保存静态资源文件版本， 更新浏览器缓存
%>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="zh" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="zh" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<head>
    <jsp:include page="../common/common.jsp">
        <jsp:param name="JS_V" value="1.10"/>
    </jsp:include>
</head>
<body class="page-header-fixed">
    <jsp:include page="../common/header.jsp"/>
    <div class="clearfix"></div>
    <div class="page-container">
        <div class="page-sidebar-wrapper"><jsp:include page="../common/menu.jsp"/></div>
        <div class="page-content-wrapper">
            <div class="page-content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="portlet box purple">
                            <div class="portlet-title">
                                <div class="caption">
                                    <i class="fa fa-reorder"></i> 定时任务管理
                                </div>
                                <div class="tools">
                                    <div class="actions">
                                        <a href="${path}/timer/save" class="btn blue">新建</a>
                                    </div>
                                </div>
                            </div>
                            <div class="portlet-body">
                                <table class="table table-striped table-bordered table-hover" id="timerList"></table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <input type="hidden" id="type" value="${type}">
        </div>
    </div>
    <jsp:include page="../common/footer.jsp"/>
    <script type="text/javascript" src="${path}/platform/js/timer.js"></script>
    <script type="text/javascript">
        $(function(){
            getTimerList();
        });
    </script>
</body>
</html>